package com.example.common.global;

/**
 * 消息通知
 */
public class BaseMessageConf {
    public static final String OPERATION_SUCCESS = "操作成功";
    public static final String OPERATION_FAIL = "操作失败";
    public static final String INSERT_SUCCESS = "插入成功";
    public static final String INSERT_FAIL = "插入失败";
    public static final String UPDATE_SUCCESS = "更新成功";
    public static final String UPDATE_FAIL = "更新失败";
    public static final String DELETE_SUCCESS = "删除成功";
    public static final String DELETE_FAIL = "删除失败";
    public static final String BATCH_DELETE_SUCCESS = "批量删除成功";
    public static final String QUERY_SUCCESS = "查询成功";
    public static final String QUERY_FAIL = "查询失败";

    public static final String ENTITY_EXIST = "实体已存在";
    public static final String USER_OR_EMAIL_EXIST = "用户或邮箱已被注册";
    public static final String ENTITY_NOT_EXIST = "实体不存在";



    /**
     * 查询操作默认异常码
     */
    public static final String QUERY_DEFAULT_ERROR = "查询操作失败";
    public static final String SYSTEM_CONFIG_IS_NOT_EXIST = "系统配置不存在，请检查t_system_config表是否有数据，并重新导入数据库";
    public static final String PLEASE_CONFIGURE_PASSWORD = "请先到参数配置，配置默认密码";
    public static final String PLEASE_CONFIGURE_BLOG_COUNT = "请先到参数配置，配置博客显示数量";
    public static final String PLEASE_CONFIGURE_TAG_COUNT = "请先到参数配置，配置标签显示数量";
    public static final String PLEASE_CONFIGURE_LINK_COUNT = "请先到参数配置，配置友情链接显示数量";
    public static final String PLEASE_CONFIGURE_SYSTEM_PARAMS = "请先到后台参数配置，配置博客相关参数";
    /**
     * 插入操作默认异常码
     */
    public static final String INSERT_DEFAULT_ERROR = "插入操作失败";

    /**
     * 更新操作默认异常码
     */
    public static final String UPDATE_DEFAULT_ERROR = "更新操作失败";


    /**
     * 删除操作默认异常码
     */
    public static final String DELETE_DEFAULT_ERROR = "删除操作失败";
    public static final String DELETE_FAILED_PLEASE_CHECK_UID = "删除操作失败，请检查uid是否合法";
}
